{# Base layout every page extends. Blocks: title, favicon, head_extra, navbar, page_body, content, footer, scripts. Override ``content`` for an ordinary page; reach for ``page_body`` only when a page needs to replace the whole main wrapper. ``#app-content`` is the element htmx swaps fragments into (see ``render()`` in rendering.py and the two layouts under layouts/). #} {% from "components/macros/layout.html" import appearance_head, theme_toggle, interactive_head, interactive_body, chat_scripts %} {% block title %}{{ project_name }}{% endblock %} {# Favicon: the Aegis shield, a PNG with its own transparency (it reads on a light tab or a dark one), and the larger one iOS asks for when the page is added to a home screen. Bots that auto-request /favicon.ico will 404, which is harmless. #} {% block favicon %} {% endblock %} {# Tailwind + DaisyUI, precompiled — no runtime JIT, no CDN. Built into static/dist by the asset pipeline; static() returns the fingerprinted URL once a build exists and the raw source path before then. The theme script ahead of it applies the stored theme before the stylesheet paints (see static/js/theme.js). #} {{ appearance_head(default_theme) }} {{ interactive_head() }} {% block head_extra %}{% endblock %} {% block navbar %}
{{ project_name }}
{{ theme_toggle() }} {% if meetings_page is defined %}Meetings{% endif %} {% if auth_enabled %}Overseer{% endif %} Dashboard
{% endblock %} {% block page_body %}
{% block content %}{% endblock %}
{% endblock %} {% block footer %}{% endblock %} {{ interactive_body() }} {% if chat_path is defined %}{{ chat_scripts() }}{% endif %} {% if auth_enabled %}{% endif %} {% block scripts %}{% endblock %}